/*
 * @Author: scopesang
 * @Date: 2022-05-10 10:09:16
 * @LastEditors: scopesang
 * @LastEditTime: 2022-05-10 11:09:52
 * @FilePath: \TypeScript\src\complexDataType\Tuple.ts
 * @Description: 元组类型Tuple（了解）
 * 
 * Copyright (c) 2022 by scopesang/大鹏科技, All Rights Reserved. 
 */
// 数组里面套着数组 确定里面的类型
// 里面的每一项
let arr: [string, number][] = [
    ["张三", 13],
    ["李四", 14],
    ["王五", 15]
]
let arr2:{name:string,age:number}[] = [{
    name:"s",
    age:15
}]